package com.wrong.desgin.applicaiton.violate_design;

import java.util.concurrent.TimeUnit;

/**
 * @author: hliushi
 * @date: 2022/12/5 23:23
 **/
public interface WrongCacheService {

    Object get(String key, String type);

    void set(String key, Object value, String type);

    void set(String key, Object value, long timeout, TimeUnit unit, String type);

    void del(String key, String type);
}
